import Vue from 'vue'
import Vuex from 'vuex'
import needsbuy from "./modules/needsbuy"
import category from './modules/category'
import recommenddetail from './modules/recommenddetail'
import user from './modules/user'
import search from './modules/search'
import shopcart from '@/store/modules/shopcart'
import detail from '@/store/modules/detail'

Vue.use(Vuex)
const state = {
}
const mutations = {
}
const actions = {
}
const getters = {

}


export default new Vuex.Store({
  state,
  mutations,
  actions,
  getters,
  modules:{
    needsbuy,
    category,
    recommenddetail,
    user,
    search,
    shopcart,
    detail

  }

})


